package com.cangxuan.manage.entity;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 作者：游星宇
 * 挂单管理实体类
 */
@Data
public class Registration {
    private Integer id ;
    private Integer goodsId;//挂单对应商品id
    private Integer count;//挂单商品数量

    private String name;//藏品名称
   /* private Integer orderformId;//订单编号*/
    private Integer userId;//挂单对应用户id
    private Integer price;//挂单商品价格
    private Integer state;//挂单商品状态
    private LocalDateTime createTime;//挂单时间

    public Registration() {
    }

    public Registration(String name, Integer userId,LocalDateTime createTime,Integer price, Integer state) {
        this.name = name;
     /*   this.orderformId = orderformId;*/
        this.createTime =createTime;
        this.userId = userId;
        this.price = price;
        this.state = state;
    }
}
